<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
	<div class="container">
		<a class="navbar-brand" href="${pageContext.request.contextPath}/index.jsp">Start Bootstrap</a>
		<button class="navbar-toggler navbar-toggler-right" type="button"
			data-toggle="collapse" data-target="#navbarResponsive"
			aria-controls="navbarResponsive" aria-expanded="false"
			aria-label="Toggle navigation">
			Menu <i class="fas fa-bars"></i>
		</button>
	<!--  	<form accept-charset="UTF-8" action="/search" autocomplete="on" data-text-filter="搜索格式不正确" data-text-require="搜索关键字不能少于1个" id="navbar-search-form" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓"></div>
			<div class="ui mini fluid input">
			<input id="navbar-search-input" name="q" placeholder="搜索内容..." type="text" value="">
			<input id="navbar-search-type" name="type" type="hidden">
			</div>
		</form> 
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%> -->
		<form name="form2" action="Lucene/searchArticle.do" method="post">
             <input type="text" name="se_title" /> <input type="submit"
                 value="搜索" />
     </form>
		 
	<!--  	<div>
		<input type="text" id="s_title" size="20" onkeydown="if(event.keyCode==13) searchArticle()"/>
		<a href="javascript:searchArticle()" class="easyui-linkbutton" iconCls="icon-search" plain="true">搜索</a>
		</div>
		-->
		<div class="collapse navbar-collapse" id="navbarResponsive">
			<ul class="navbar-nav ml-auto">
				<li class="nav-item"><a class="nav-link"
					href="${pageContext.request.contextPath}/index.jsp">Home</a></li>
				<li class="nav-item"><a class="nav-link" href="about.html">About</a>
				</li>
				<li class="nav-item"><a class="nav-link" href="post.html">Sample
						Post</a></li>
				<li class="nav-item"><a class="nav-link" href="contact.html">Contact</a>
				</li>
			</ul>
		</div>
	</div>
</nav>





